import { h } from 'vue'
import { NButton,useMessage } from 'naive-ui'
export default {
    
    render() {
        
        const message = useMessage()
        const handleClick = (e)=> {
            console.log(e)
            message.success('成功了')
        }
        return h(NButton,{type:"info",onClick:handleClick},'点这里')
    }
}